package com.yt.system.domain;

public class GroupTable {
    private Integer id;
    private Integer gid;

    private String gname;

    private String gslogan;

    private String grank;

    private String gstatus;

    public GroupTable(Integer gid, String gname, String gslogan, String grank, String gstatus) {
        this.gid = gid;
        this.gname = gname;
        this.gslogan = gslogan;
        this.grank = grank;
        this.gstatus = gstatus;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public GroupTable() {
        super();
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname == null ? null : gname.trim();
    }

    public String getGslogan() {
        return gslogan;
    }

    public void setGslogan(String gslogan) {
        this.gslogan = gslogan == null ? null : gslogan.trim();
    }

    public String getGrank() {
        return grank;
    }

    public void setGrank(String grank) {
        this.grank = grank == null ? null : grank.trim();
    }

    public String getGstatus() {
        return gstatus;
    }

    public void setGstatus(String gstatus) {
        this.gstatus = gstatus == null ? null : gstatus.trim();
    }

    @Override
    public String toString() {
        return "GroupTable{" +
                "id=" + id +
                ", gid=" + gid +
                ", gname='" + gname + '\'' +
                ", gslogan='" + gslogan + '\'' +
                ", grank='" + grank + '\'' +
                ", gstatus='" + gstatus + '\'' +
                '}';
    }
}